package com.jbinfo.qingcaowan.studyManager.dao;

import java.util.List;

import com.jbinfo.qingcaowan.dao.SimpleDao;
import com.jbinfo.qingcaowan.studyManager.dto.RemarkModel;
import com.jbinfo.qingcaowan.studyManager.entity.Remark;

public interface RemarkDao extends SimpleDao {
	
	//public User getByCode(String userCode);
	
	public List<Remark> findAllRemark(RemarkModel remarkModel);

	public List<Remark> findByUser(RemarkModel remarkModel);

	public void changeShow(RemarkModel remarkModel);

	public  List<RemarkModel> findBookList(RemarkModel remarkModel);

	public List<RemarkModel> findChapterList(String bookid);

	public List<RemarkModel> findCardList(String chapterid);

	public void changeShow1(RemarkModel remarkModel);
	
	// 插入评论表
	public void insertSelective(Remark remark);
	
	// 获取评论数
	public Integer findRemarkCntByParam(Remark remark);
}
